package com.parkingspace.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.parkingspace.entity.Property;
import com.parkingspace.entity.User;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author Gapper
 * @since 2021-05-24
 */
public interface IUserService extends IService<User> {

	/**
	 * 根据登录的用户返回当前用户的物业公司信息
	 * @param token 传入token
	 * @return 返回Property
	 * @throws Exception
	 */
	Property findByProperty (String token) throws Exception;

}
